﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Furesoft.Styling
{
    public class Number
    {
        string value;
        public Number(double d)
        {
            value = d.ToString();
        }

        public int ToInt()
        {
            return int.Parse(value);
        }

        public byte ToByte()
        {
            return byte.Parse(value);
        }
        public float ToFloat()
        {
            return float.Parse(value);
        }
        public double ToDouble()
        {
            return double.Parse(value);
        }
    }
}
